<?php
Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl."/scripts/jquery.placeholder.min.js", CClientScript::POS_END);
Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl."/scripts/jquery.cookie.js", CClientScript::POS_HEAD);
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="language" content="en" />
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>
<div class="container" id="page">
    <div id="header">
        <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
    </div>
    <!-- header -->
    <div id="mainmenu">       
    </div>
    <!-- mainmenu -->
    <?php if(isset($this->breadcrumbs)):?>
        <?php $this->widget("zii.widgets.CBreadcrumbs", array(
            "links"=>$this->breadcrumbs,
        )); ?>
        <!-- breadcrumbs -->
    <?php endif?>

    <?php echo $content ?>

    <div class="clear"></div>

    <div id="footer">
        Copyright &copy; <?php echo date("Y"); ?> by My Company.<br/>
        All Rights Reserved.<br/>
    </div>
    <!-- footer -->
</div>
<!-- page -->
<?php
  // The following line must be include to show top horizontal menu
  $this->widget("Cms.components.ToolbarWidget",  array("visible"=>!Yii::app()->request->getParam("preview",  false)));
?>
</body>
</html>